<% form_remote_tag(:url => '/images/update_tag', 
                    :update => 'dialog_message_placeholder',
                    :loading => "$('tag_status').hide();$('tag_throttle').show();",
                    :complete => "$('tag_status').show();$('tag_throttle').hide();"
   ) do 
-%>
<div id="dialog_message_placeholder"></div>
<span style="display:none;" id="tag_throttle"><%=image_tag('white_throttle.gif')%></span><span id="tag_status">Tags</span> <%= text_field_tag('tag_names', nil, {:size => 50, :maxlength => 200})%>
<p class="small_tips">Esc to exit. Enter to submit.</p>
<%= hidden_field_tag 'selected_ids', params[:selected_ids] %>
<% end -%>
<script>
myLightbox.end();
setTimeout("$('tag_names').focus();", 1000);
</script>